<?php
/**
 * Created by PhpStorm.
 * User: xuke
 * Date: 16/6/7
 * Time: 下午5:31
 */
namespace App\Http\Model;

class Device extends Base
{
    protected $primaryKey = 'id';
    protected $table = 'device';

    protected $guarded = [
        'id'
    ];

    public function Token()
    {
        return $this->hasOne(AccessToken::class, 'uuid', 'uuid');
    }
}